Κοινή χρήση μέσω


az ml computetarget amlcompute identity

Note

This reference is part of the azure-cli-ml extension for the Azure CLI (version 2.0.28 or higher). The extension will automatically install the first time you run an az ml computetarget amlcompute identity command. Learn more about extensions.

AzureML compute target identity commands.

Commands

Name Description Type Status
az ml computetarget amlcompute identity assign

Assign identity to an AzureML compute target.

Extension GA
az ml computetarget amlcompute identity remove

Remove identity from an AzureML compute target.

Extension GA
az ml computetarget amlcompute identity show

Display identities of an AzureML compute target.

Extension GA

az ml computetarget amlcompute identity assign

Assign identity to an AzureML compute target.

az ml computetarget amlcompute identity assign --identities
                                               --name
                                               [--path]
                                               [--resource-group]
                                               [--subscription-id]
                                               [--workspace-name]
                                               [-v]

Required Parameters

--identities

Use '[system]' to set a system assigned identity else input resource IDs separated by commas (ie 'ResourceID1,ResourceID2') to set user assigned identities.

--name -n

Name of compute target to provision.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget amlcompute identity remove

Remove identity from an AzureML compute target.

az ml computetarget amlcompute identity remove --identities
                                               --name
                                               [--path]
                                               [--resource-group]
                                               [--subscription-id]
                                               [--workspace-name]
                                               [-v]

Required Parameters

--identities

Use '[system]' to remove a system assigned identity else input resource IDs separated by commas (ie 'ResourceID1,ResourceID2') to remove user assigned identities.

--name -n

Name of compute target to provision.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget amlcompute identity show

Display identities of an AzureML compute target.

az ml computetarget amlcompute identity show --name
                                             [--path]
                                             [--resource-group]
                                             [--subscription-id]
                                             [--workspace-name]
                                             [-v]

Required Parameters

--name -n

Name of compute target to provision.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.